<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			//语法错误：SyntaxError
			//console.log(1;
				
			//引用错误：ReferenceError
			//console.log(a);
			
			//类型错误：TypeError
			//var arr=[];
			//arr.replace();
			
			//范围错误：RangeError
			var num=3.1415;
			num.toFixed(101)
		</script>
	</body>
</html>
